package com.huaruan.food.entity;

/**
 * Waiter entity. @author MyEclipse Persistence Tools
 */

public class Waiter implements java.io.Serializable {

	// Fields

	private Integer id;
	private String login;
	private String pwd;
	private String name;
	private String regTime;
	private Integer role;
	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

	private String state;

	// Constructors

	/** default constructor */
	public Waiter() {
	}

	/** full constructor */
	public Waiter(String login, String pwd, String name, String regTime,
			String state) {
		this.login = login;
		this.pwd = pwd;
		this.name = name;
		this.regTime = regTime;
		this.state = state;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLogin() {
		return this.login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRegTime() {
		return this.regTime;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

}